package com.springapp.mvc.dao.mapper;

import com.springapp.mvc.dao.bean.Operation;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by qinyy on 2018/7/20.
 */
public interface EXOperationMapper extends OperationMapper
{
    // ??????????????δ??е????
    Operation selectFirstUnexcuted();
    // ?ò?????
    void changeOperationStatus(@Param("operationId")int id,@Param("excuted")boolean excuted,@Param("excuteTime")long time);
    // ?????????в???
    List<Operation> queryOperationPaged(@Param("limit")int limit,@Param("offset")int offset,@Param("sortPro")String sortPro,@Param("sortType")String sortType);
    // ???????
    int getTotalNum();
}
